//
//  GetPhoto.h
//  PolyCarCollect
//
//  Created by iMac on 16/7/9.
//  Copyright (c) 2016年 谷旭. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GetPhoto : NSObject<UINavigationControllerDelegate,UIImagePickerControllerDelegate,UIActionSheetDelegate>

+ (GetPhoto *)sharedInstance;

+ (void)getPhoto:(UIViewController *)controller completion:(void (^)(UIImage* curImage,NSData * imageData))completion;

+(void)getPhotos:(UIViewController *)controller AndSelectAssets:(NSMutableArray *)selectAssets completion:(void (^)(NSMutableArray* selectPhotos,NSMutableArray *selectAssets,NSMutableArray * selectImageDatas))completion;


- (void)getPhoto:(UIViewController *)controller andTitle:(NSString *)title completion:(void (^)(UIImage* curImage,NSData * imageData))completion;


+(void)getPhotos:(UIViewController *)controller AndSelectAssets:(NSMutableArray *)selectAssets andNum:(NSInteger)num completion:(void (^)(NSMutableArray* selectPhotos,NSMutableArray *selectAssets,NSMutableArray * selectImageDatas))completion;


- (void)getCameaPicture;
- (void)takePhoto;

//修改字体颜色
- (void)willPresentActionSheet:(UIActionSheet *)actionSheet;

@end
